/**
 * 
 */
package com.estate.dao;

import java.sql.Connection;
import java.util.List;

import com.estate.datalogic.Client;


/**
 * @author Administrator
 */
public interface UserDAO {
	public void addUser(Client client)throws Exception;

	public void updateUser(Client client)throws Exception;

	public void deleteUser(String uid)throws Exception;

	public List listAllUser()throws Exception;

	public Client getUser(String uid)throws Exception;
	
	public Connection getConnection()throws Exception;
	
	public void setConnection(Connection connection)throws Exception;
	
}
